Skip to content

firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit #1706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

maheeraeron
Copy link
Contributor

This PR focuses on changing all the tracing statements for diagnostics to use tracelimit instead, with custom period and limits. Without the custom configuration, tracelimit will quickly drop EfiDiagnostics logs.

@maheeraeron maheeraeron changed the title firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit [WIP] firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit Jul 15, 2025
@maheeraeron
Copy link
Contributor Author

maheeraeron commented Jul 15, 2025

If anyone is curious what the output looks like between using tracing::*!(), the old tracelimit::*_ratelimited!() and new with configurable period/limit tracelimit::*_ratelimited!():

traceoutput.txt

@maheeraeron maheeraeron marked this pull request as ready for review July 15, 2025 23:15
@maheeraeron maheeraeron requested a review from a team as a code owner July 15, 2025 23:15
@maheeraeron maheeraeron changed the title [WIP] firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit firmware_uefi: EfiDiagnostics change to tracelimit with custom period and limit Jul 15, 2025
Copy link

@maheeraeron maheeraeron merged commit 7a536e1 into microsoft:main Jul 17, 2025
48 of 50 checks passed
maheeraeron added a commit to maheeraeron/openvmm that referenced this pull request Jul 17, 2025
@maheeraeron maheeraeron added the backport_2505 Change should be backported to the release/2505 branch label Jul 17, 2025
maheeraeron added a commit that referenced this pull request Jul 17, 2025
…imit and other improvements (#1691)

This PR backports four PRs on EfiDiagnostics improvements and feature
gaps. The four PRs are here:

1. #1668
2. #1677
3. #1693
4. #1706
@maheeraeron maheeraeron deleted the user/maheeraeron/efidiagnostics-tracing branch July 17, 2025 21:53
@benhillis
Copy link
Member

Backported with #1691

@benhillis benhillis added backported_2505 PR that has been backported to release/2505 and removed backport_2505 Change should be backported to the release/2505 branch labels Jul 18, 2025
gurasinghMS pushed a commit to gurasinghMS/openvmm that referenced this pull request Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported_2505 PR that has been backported to release/2505
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants